package org.john.javalib;

/**
 * Created by adsame on 17-12-6.
 */
public class BasicTypeTest {
    public static void main(String args[]) {
        Boolean b = false;
        setBoolean(b);
        System.out.println(b);
        double a = 1.343;
        double d = 1.343;
        System.out.println(d + "," + (a == d));
        System.out.println(2 / 1 * 3);
        double c = 6, e = 2, f = 3;
        System.out.println(c / e * f);
        String timeStr = String.valueOf(System.currentTimeMillis());
        System.out.println(timeStr);
        System.out.println(timeStr.substring(timeStr.length() - 6));
    }

    public static void setBoolean(Boolean b) {
        b = true;
    }
}
